# 面向对象
# coding:utf-8

import sys
from PyQt5.QtWidgets import QApplication, QWidget

class Gui():
    pass
    def __init__(self):
        self.initUI()

    def initUI(self):
        self.win = QWidget()
        self.win.setWindowTitle('面向对象')

if __name__ == '__main__':
    app = QApplication(sys.argv)
    gui = Gui()
    gui.win.show()
    sys.exit(app.exec_())




